﻿@model DAL.BlogPost
@{
    ViewBag.Title = "EditPost";
}
<link href="~/Content/EditPost.css" rel="stylesheet" />
<h2>Edit blog post</h2>

@using (Html.BeginForm())
{
    <h4>Title:</h4>
    @Html.TextBoxFor(m => m.Title)
    <h4>Entry:</h4>
    @Html.TextAreaFor(m => m.PostText,8,150,null)
    <br/>
    <input type="submit" value="Save"/>
}

